package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 healthy
 * 
 * @author ruoyi
 * @date 2025-05-08
 */
public class Healthy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private Long healthyId;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String healthyTitle;

    /** 文章照片 */
    @Excel(name = "文章照片")
    private String healthyImage;

    /** 作者 */
    @Excel(name = "作者")
    private String healthyProple;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String healthyBody;

    /** 文章状态 */
    @Excel(name = "文章状态")
    private String healthyStatus;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setHealthyId(Long healthyId) 
    {
        this.healthyId = healthyId;
    }

    public Long getHealthyId() 
    {
        return healthyId;
    }

    public void setHealthyTitle(String healthyTitle) 
    {
        this.healthyTitle = healthyTitle;
    }

    public String getHealthyTitle() 
    {
        return healthyTitle;
    }

    public void setHealthyImage(String healthyImage) 
    {
        this.healthyImage = healthyImage;
    }

    public String getHealthyImage() 
    {
        return healthyImage;
    }

    public void setHealthyProple(String healthyProple) 
    {
        this.healthyProple = healthyProple;
    }

    public String getHealthyProple() 
    {
        return healthyProple;
    }

    public void setHealthyBody(String healthyBody) 
    {
        this.healthyBody = healthyBody;
    }

    public String getHealthyBody() 
    {
        return healthyBody;
    }

    public void setHealthyStatus(String healthyStatus) 
    {
        this.healthyStatus = healthyStatus;
    }

    public String getHealthyStatus() 
    {
        return healthyStatus;
    }

    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("healthyId", getHealthyId())
            .append("healthyTitle", getHealthyTitle())
            .append("healthyImage", getHealthyImage())
            .append("healthyProple", getHealthyProple())
            .append("healthyBody", getHealthyBody())
            .append("healthyStatus", getHealthyStatus())
            .append("createDate", getCreateDate())
            .toString();
    }
}
